import App from 'next/app'
import 'antd/dist/antd.css'
import React,  { useLayoutEffect, useEffect } from 'react';
React.useLayoutEffect  = isBrowser() ? useLayoutEffect : useEffect;

export default App


function isBrowser() {
    return !!(typeof window !== 'undefined' && window.document && window.document.createElement);
}